This volume provides a definitive description of the ScriptX authoring language, part of the ScriptX Language and Class Library. It contains the syntax for ScriptX and provides information on using the language effectively. The book is designed to offer several different paths that readers can follow, depending on their familiarity and experience with other programming languages, with object-oriented programming, and with formal grammars.
This chapter, "Introducing the ScriptX Language," provides an overview of the ScriptX language. It includes a section that introduces concepts in object-oriented programming, beginning on page 12. Readers who are familiar with other object-oriented programming languages may want to skip this section, proceeding directly to the following chapter.
The description of the ScriptX language and the code examples used in this book are independent of any existing authoring tool or environment. Although you should be able to enter code examples in this book in any ScriptX environment that allows it, the examples in this book are intended to be more illustrative than tutorial.
is expected that most ScriptX titles will eventually be generated by authoring tools or development environments specialized for creating multimedia titles. Those tools will effectively hide much of the actual code of the ScriptX title.
However, many of those authoring environments may require some additional scripting with ScriptX. For example, an environment may require the author to fill in parts of a title with specific scripts (for example, to describe the action of a button), or to provide other capabilities that the tool itself does not provide. In addition, some environments may provide an interactive environment, such as the ScriptX Listener, which can be used to enter ScriptX expressions and see an immediate result.
This document is part of the ScriptX Language Guide, one of the volumes of the ScriptX Technical Reference Series. ScriptX is developed by the ScriptX Engineering Team at Apple Computer, successor to the Kaleida Engineering Team at Kaleida Labs, Inc.